#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main()
{
	double a, b, c,s,s1,s2,i,j;
	scanf("%f %f %f", &a, &b, &c);
	if (a == 0 && b == 0 && c == 0)
		printf("Zero Equation");
	else if (a == 0 && b == 0 && c != 0)
		printf("Not An Quatiom");
	else if (a == 0)
	{
		s = -c / b;
		printf("%.2f\n", s);
	}
	else if(b*b-4*a*c>0)
	{
		s1 = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
		s2 = (-b - sqrt(b * b - 4 * a * c)) / (2 * a);
		printf("%.2f %.2f", s1, s2);
	}
	else if (b * b - 4 * a * c == 0)

	{
		s= (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
		printf("%.2f\n", s);
	}
	else
	{
		s1 = -b / (2 * a);
		s2 = -b / (2 * a);
		double t = sqrt(-(b * b - 4 * a * c)) / (2 * a);
		printf("s1=%.2f+%.2fi s2=%.2f+%.2fi", s1, t, s2, t);

	}


	return 0;
}